module.exports = app => {
    const { router, controller } = app;
    const va = app.middleware.user.validateAdmin();
    // 获取前台界面的配置信息
    router.get('/font/getConfig', controller.fontConfig.getConfig);

    // 设置前台界面的配置信息
    router.post('/font/setConfig', va, controller.fontConfig.setConfig);
}